import 'package:flutter/material.dart';

class CellLine extends StatelessWidget {
  const CellLine({
    super.key,
    this.leftMargin = 0,
    this.leftColor,
    this.lineHeight = 0.5,
    this.lineColor = const Color.fromRGBO(255, 255, 255, 0.5),
  });

  final double leftMargin;
  final Color? leftColor;
  final Color lineColor;
  final double lineHeight;

  @override
  Widget build(BuildContext context) {
    return Container(
      height: lineHeight,
      color: lineColor,
      child: Row(
        children: [
          leftMargin > 0
              ? Container(
                  width: leftMargin,
                  color: leftColor,
                )
              : const SizedBox(
                  width: 0,
                ),
        ],
      ),
    );
  }
}
